home *** CD-ROM | disk | FTP | other *** search
/ Mastering Internet Develo…oft ActiveX Technologies / Mastering Internet Development with ActiveX (1996)(Microsoft).iso / labs / lab10.1 / webclnt / webclnt.txt < prev   
Text File  |  1996-07-16  |  3KB  |  67 lines

  1. WebClient is an unsupported tool. Microsoft does not guarantee its 
  2. operation or provide technical support for it.
  3.  
  4. WebClient is a simple WinSock, MFC-based app that submits HTTP requests 
  5. to web servers and displays the results in its main window. Once a 
  6. document has been retrieved, it can be saved (without the HTTP headers) 
  7. to a file. This is very useful for verifying the HTTP stream received 
  8. from web servers -- particulary caching dates.
  9.  
  10. WebClient an also access sites through a proxy server, enabling access 
  11. through Microsoft Catapult.
  12.  
  13. INSTALLATION
  14. ============
  15. WebClient is an MFC-based application that has been compiled to use the 
  16. DLL versions of the MFC and C-Runtime libraries. It is imperative that 
  17. MFC40.DLL and MSVCRT40.DLL be somewhere on your path (preferably in your 
  18. Windows System directory) when you run this application. The suggested 
  19. installation steps are as follows:
  20.     1. Copy MFC40.DLL and MSVCRT40.DLL to your Windows\System directory.
  21.     2. In a directory of your choosing, copy WebClnt.exe to your hard-drive.
  22.     3. Optionally, create a shortcut to it from a folder.
  23.     4. You're done. You should now be able to run WebClient.
  24.  
  25. USAGE
  26. =====
  27. Start WebClient. 
  28. From the menu, select "Web|Get" (or HEAD). 
  29. Enter the URL of the document you'd like to retrieve. You may leave out 
  30. the "http://" prefix if you wish; it will be assumed if missing.
  31. The HTTP stream will appear in the window when the transaction is complete.
  32. Select "File|Save" or "File|Save As" from the menu to save the document 
  33. body.
  34.  
  35. NOTE:    "Post" is not currently implemented. I'll try to get it working
  36.     sometime soon.
  37.  
  38. PROXIES
  39. =======
  40. WebClient can use a proxy if needed. Simply select "File|Proxy...", select 
  41. the appropriate radio button and enter the name of the proxy server. When 
  42. the proxy is enabled, any URL that has a period in the server name will be 
  43. sent through the proxy; if the URL doesn't have a period, it is assumed to 
  44. be local and will not utilize the proxy.
  45.  
  46. EXAMPLES
  47. ========
  48. Enter the URL: msw
  49. WebClient will construct the request as if you had typed, "http://msw". The 
  50. HTTP stream will appear in the main window. If you save the document under
  51. the name "msw.html", only the HTML text will be saved-- not the HTTP headers.
  52.  
  53. Enter the URL: http://Johndoe/Cmd95b.jpg
  54. Only a portion of the HTTP stream will appear in the main window. All the 
  55. headers will appear, but not all of the entity body, since it's a binary 
  56. graphics file. If you select "File|Save", though, the entire JPEG file will 
  57. be saved to the file you specify (again, without the HTTP headers).
  58.  
  59. Enable proxy usage and enter the URL: www.yahoo.com
  60. Since the server name has a period in it, the proxy will be used to gain 
  61. access to the outside internet. Again, "http://" will be assumed.
  62.  
  63. Enable proxy usage and enter the URL: http://JohnDoe
  64. Since there are no periods in the server name, it is assumed to be on an 
  65. Intranet, and the proxy will be bypassed.
  66.  
  67.